package com.gjy.service.k8s.runner;

import com.gjy.service.k8s.property.SSHYaml;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-09-04 17:53:48
 */
@Component
public class SimpleRunner implements CommandLineRunner {

    private static final Logger log = LoggerFactory.getLogger(SimpleRunner.class);

    @Resource
    private SSHYaml sshYaml;

    @Override
    public void run(String... args) throws Exception {
        log.info("sshYaml: {}, args: {}", sshYaml, args);
    }

}
